home *** CD-ROM | disk | FTP | other *** search
- ;«RM92»
- ; updated 4/23/91
-
- DOSSEG
- .MODEL MEDIUM, BASIC
-
- Public B$TEMPDATA, B$STRINGLEN, B$STRINGOFF
-
- ;======================================================================
- ; Use it to copy strings to this buffer to automatically
- ; append a null byte. Also allow a shared data string area.
- ; Note:
- ; Int 21h, Function 60h requires that the output storage buffer be at
- ; least 128 bytes long.
- ; Schulman, "Undocumented DOS", (Addison Wesley 1990), page 565
- ; But, Dettmann, "DOS Programmer's Reference" 2d Ed. (Que 1989), page 660
- ; states that buffer is only 67 bytes long. Which one is correct?
- ; I don't want to find out, so I picked the most conservative
- ;======================================================================
-
- .DATA
- EVEN
- B$TEMPDATA DB 128 DUP(0) ;fixed length string
- B$STRINGLEN DW 0 ;string descriptor length
- B$STRINGOFF DW 0 ;string descriptor offset
-
- END
-